package com.parent.Interface.log;

import cn.hutool.json.JSONConfig;
import org.aspectj.lang.JoinPoint;

import java.util.logging.Logger;

/**
 * @Author yan
 * @Date 2023/6/1 0001 17:03
 * @Description
 */
public interface SysLogCommon {
    Logger log = Logger.getLogger(SysLogAspect.class.getName());
    JSONConfig jsonConfig = JSONConfig.create().setIgnoreNullValue(false);
     void SysLog();

    default void doBefore(JoinPoint joinPoint) throws Exception {
        log.info("doBefore");
    }

    SysLog getAnnotationLog(JoinPoint joinPoint);

    default void doAfterReturning(JoinPoint joinPoint, Object reValue) {
        log.info("doAfterReturning");
    }

}
